<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\Admin */

$this->title = '个人信息设置';
$this->params['breadcrumbs'][] = ['label' => '个人信息', 'url' => ['profile']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="admin-update">

    <div class="admin-form">

    <?php $form = ActiveForm::begin(); ?>

    <div class="form-group field-admin-password">
		<label class="control-label" for="admin-password">旧密码</label>
		<input type="password" id="admin-password" class="form-control" required name="oldPwd">
		<div class="help-block"></div>
	</div>
	<div class="form-group field-admin-password">
		<label class="control-label" for="admin-password1">新密码</label>
		<input type="password" id="admin-password1" class="form-control" required name="newPwd">
		<div class="help-block"></div>
	</div>
	<div class="form-group field-admin-password">
		<label class="control-label" for="admin-password2">确认密码</label>
		<input type="password" id="admin-password2" class="form-control" required name="confirmPwd">
		<div class="help-block"></div>
	</div>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('backend', 'Create') : Yii::t('backend', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>

</div>
<script type="text/javascript">
	

</script>